package edu.njust.cma.service;

import edu.njust.cma.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    User getUserInfo(Integer id);

    void changePassword(Integer id, String password);

    void changeUserInfo(Integer id, String name, String email, String phone);

    List<User> getAllUserInfo();

    void changeResume(Integer id, String resumeUrl);

    List<User> getUserInfoByLevel(Integer level);

    void changeUserLevel(Integer userId, Integer level);

    void deleteUser(Integer userId);

    User addUser(User user);

    User login(String work_number, String password);
}
